import Vue from 'Vue';
import vueRouter from 'vue-router'
import Content from "../components/Content";
import Main from "../components/Main";
import Kuang  from "../components/Kuang";
//安装路由
Vue.use(vueRouter);
//配置导出路由
export default new vueRouter(
  {
    routers: [
      {
      //路由路径
        path:'/content',
        name:'content',
        component:Content
      },
      {
        //路由路经
        path: '/main',
        name: '/main',
        component: Main
      },
      {
        //路由路经
        path: '/kuang',
        name: '/kuang',
        component: Kuang
      }

    ]
  }

);
